<template>
<div>
     <!-- 轮播图 -->
    <mt-swipe :auto="4000">
        <mt-swipe-item v-for="item in lunbotuList" :key="item.id">
            <!-- mustaache语法不能作用在HTML特性上 -->
            <img :src="item.img" :class="{wid:isfull}">
        </mt-swipe-item>
    </mt-swipe>
</div>
    
</template>

<script>
export default {
    data(){
        return{
        }
    },
    created(){
        
    },
    methods:{
        
    },
    props:["lunbotuList","isfull"]
}
</script>

<style lang="less" scoped>
.mint-swipe{
        height: 200px;
        img {
            height:100%;
        }
        .wid{
            width: 100%
        }
        .mint-swipe-item{
        
        }
    }
</style>

